[INFO] cloning repository https://github.com/SecureDataHouse/rust-blockchain
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/SecureDataHouse/rust-blockchain" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSecureDataHouse%2Frust-blockchain", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSecureDataHouse%2Frust-blockchain'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 324addb01c286884bc7039046cb82daa277c4558
[INFO] checking SecureDataHouse/rust-blockchain against master#cfbc6d4cf1acbac5c025acf8ed68929caa551df3 for pr-75494-beta
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSecureDataHouse%2Frust-blockchain" "/workspace/builds/worker-9/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-9/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/SecureDataHouse/rust-blockchain on toolchain cfbc6d4cf1acbac5c025acf8ed68929caa551df3
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+cfbc6d4cf1acbac5c025acf8ed68929caa551df3" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/SecureDataHouse/rust-blockchain
[INFO] finished tweaking git repo https://github.com/SecureDataHouse/rust-blockchain
[INFO] tweaked toml for git repo https://github.com/SecureDataHouse/rust-blockchain written to /workspace/builds/worker-9/source/Cargo.toml
[INFO] crate git repo https://github.com/SecureDataHouse/rust-blockchain already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+cfbc6d4cf1acbac5c025acf8ed68929caa551df3" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded tiny-keccak v2.0.1
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+cfbc6d4cf1acbac5c025acf8ed68929caa551df3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 0cd164173e735e601cf5be3374b8690b5446eb2be42f98da7f7fded3acd5bbd4
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "0cd164173e735e601cf5be3374b8690b5446eb2be42f98da7f7fded3acd5bbd4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "0cd164173e735e601cf5be3374b8690b5446eb2be42f98da7f7fded3acd5bbd4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0cd164173e735e601cf5be3374b8690b5446eb2be42f98da7f7fded3acd5bbd4", kill_on_drop: false }`
[INFO] [stdout] 0cd164173e735e601cf5be3374b8690b5446eb2be42f98da7f7fded3acd5bbd4
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+cfbc6d4cf1acbac5c025acf8ed68929caa551df3" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 836afeffa19f92c42c91b61937ac6353982692889fdc85de77d364c166063fa0
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "836afeffa19f92c42c91b61937ac6353982692889fdc85de77d364c166063fa0", kill_on_drop: false }`
[INFO] [stderr]    Compiling autocfg v1.0.0
[INFO] [stderr]    Compiling libc v0.2.67
[INFO] [stderr]    Compiling crunchy v0.2.2
[INFO] [stderr]    Compiling tiny-keccak v2.0.1
[INFO] [stderr]    Compiling num-traits v0.2.11
[INFO] [stderr]    Compiling num-integer v0.1.42
[INFO] [stderr]    Compiling num-bigint v0.2.6
[INFO] [stderr]     Checking time v0.1.42
[INFO] [stderr]     Checking chrono v0.4.10
[INFO] [stderr]     Checking rust-blockchain v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `std::borrow::Borrow`
[INFO] [stdout]  --> src/basic_prototype.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::borrow::Borrow;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `BigInt`
[INFO] [stdout]  --> src/proof_of_work.rs:2:27
[INFO] [stdout]   |
[INFO] [stdout] 2 | use num_bigint::{BigUint, BigInt};
[INFO] [stdout]   |                           ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Zero`
[INFO] [stdout]  --> src/proof_of_work.rs:3:18
[INFO] [stdout]   |
[INFO] [stdout] 3 | use num_traits::{Zero, One};
[INFO] [stdout]   |                  ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::mem`
[INFO] [stdout]  --> src/proof_of_work.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::mem;
[INFO] [stdout]   |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `chrono::format::Numeric::Ordinal`
[INFO] [stdout]  --> src/proof_of_work.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use chrono::format::Numeric::Ordinal;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::mem`
[INFO] [stdout]  --> src/utils.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::mem;
[INFO] [stdout]   |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::intrinsics::transmute`
[INFO] [stdout]  --> src/utils.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::intrinsics::transmute;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::borrow::Borrow`
[INFO] [stdout]  --> src/basic_prototype.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::borrow::Borrow;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `BigInt`
[INFO] [stdout]  --> src/proof_of_work.rs:2:27
[INFO] [stdout]   |
[INFO] [stdout] 2 | use num_bigint::{BigUint, BigInt};
[INFO] [stdout]   |                           ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Zero`
[INFO] [stdout]  --> src/proof_of_work.rs:3:18
[INFO] [stdout]   |
[INFO] [stdout] 3 | use num_traits::{Zero, One};
[INFO] [stdout]   |                  ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::mem`
[INFO] [stdout]  --> src/proof_of_work.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::mem;
[INFO] [stdout]   |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `chrono::format::Numeric::Ordinal`
[INFO] [stdout]  --> src/proof_of_work.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use chrono::format::Numeric::Ordinal;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::mem`
[INFO] [stdout]  --> src/utils.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::mem;
[INFO] [stdout]   |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::intrinsics::transmute`
[INFO] [stdout]  --> src/utils.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::intrinsics::transmute;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/basic_prototype.rs:72:13
[INFO] [stdout]    |
[INFO] [stdout] 72 |         let mut prev_block= self.blocks.get(self.blocks.len()-1);
[INFO] [stdout]    |             ----^^^^^^^^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `set_hash`
[INFO] [stdout]   --> src/basic_prototype.rs:19:12
[INFO] [stdout]    |
[INFO] [stdout] 19 |     pub fn set_hash(block: &mut Block) -> &Block {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `new_block`
[INFO] [stdout]   --> src/basic_prototype.rs:30:12
[INFO] [stdout]    |
[INFO] [stdout] 30 |     pub fn new_block(data: String, prev_block_hash: [u8; 32]) -> Block {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `new_genesis_block`
[INFO] [stdout]   --> src/basic_prototype.rs:61:12
[INFO] [stdout]    |
[INFO] [stdout] 61 |     pub fn new_genesis_block() -> Block {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct is never constructed: `Blockchain`
[INFO] [stdout]   --> src/basic_prototype.rs:66:12
[INFO] [stdout]    |
[INFO] [stdout] 66 | pub struct Blockchain {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `add_block`
[INFO] [stdout]   --> src/basic_prototype.rs:71:12
[INFO] [stdout]    |
[INFO] [stdout] 71 |     pub fn add_block(&mut self, data: String) {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `new_blockchain`
[INFO] [stdout]   --> src/basic_prototype.rs:82:12
[INFO] [stdout]    |
[INFO] [stdout] 82 |     pub fn new_blockchain(&mut self) {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant is never used: `TARGET_BITS`
[INFO] [stdout]   --> src/proof_of_work.rs:11:1
[INFO] [stdout]    |
[INFO] [stdout] 11 | const TARGET_BITS: u32 = 24;
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant is never used: `MAX_NONCE`
[INFO] [stdout]   --> src/proof_of_work.rs:12:1
[INFO] [stdout]    |
[INFO] [stdout] 12 | const MAX_NONCE: i64 = i64::max_value();
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct is never constructed: `ProofOfWork`
[INFO] [stdout]   --> src/proof_of_work.rs:14:12
[INFO] [stdout]    |
[INFO] [stdout] 14 | pub struct ProofOfWork {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `new_proof_of_work`
[INFO] [stdout]   --> src/proof_of_work.rs:20:12
[INFO] [stdout]    |
[INFO] [stdout] 20 |     pub fn new_proof_of_work(&mut self) {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `prepare_data`
[INFO] [stdout]   --> src/proof_of_work.rs:27:12
[INFO] [stdout]    |
[INFO] [stdout] 27 |     pub fn prepare_data(&self, nonce: i64) -> Vec<u8> {
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `run`
[INFO] [stdout]   --> src/proof_of_work.rs:51:12
[INFO] [stdout]    |
[INFO] [stdout] 51 |     pub fn run(&self) -> (i64, [u8; 32]) {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `validate`
[INFO] [stdout]   --> src/proof_of_work.rs:76:12
[INFO] [stdout]    |
[INFO] [stdout] 76 |     pub fn validate(&self) -> bool {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/basic_prototype.rs:72:13
[INFO] [stdout]    |
[INFO] [stdout] 72 |         let mut prev_block= self.blocks.get(self.blocks.len()-1);
[INFO] [stdout]    |             ----^^^^^^^^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `set_hash`
[INFO] [stdout]   --> src/basic_prototype.rs:19:12
[INFO] [stdout]    |
[INFO] [stdout] 19 |     pub fn set_hash(block: &mut Block) -> &Block {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `new_block`
[INFO] [stdout]   --> src/basic_prototype.rs:30:12
[INFO] [stdout]    |
[INFO] [stdout] 30 |     pub fn new_block(data: String, prev_block_hash: [u8; 32]) -> Block {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `new_genesis_block`
[INFO] [stdout]   --> src/basic_prototype.rs:61:12
[INFO] [stdout]    |
[INFO] [stdout] 61 |     pub fn new_genesis_block() -> Block {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct is never constructed: `Blockchain`
[INFO] [stdout]   --> src/basic_prototype.rs:66:12
[INFO] [stdout]    |
[INFO] [stdout] 66 | pub struct Blockchain {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `add_block`
[INFO] [stdout]   --> src/basic_prototype.rs:71:12
[INFO] [stdout]    |
[INFO] [stdout] 71 |     pub fn add_block(&mut self, data: String) {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `new_blockchain`
[INFO] [stdout]   --> src/basic_prototype.rs:82:12
[INFO] [stdout]    |
[INFO] [stdout] 82 |     pub fn new_blockchain(&mut self) {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant is never used: `TARGET_BITS`
[INFO] [stdout]   --> src/proof_of_work.rs:11:1
[INFO] [stdout]    |
[INFO] [stdout] 11 | const TARGET_BITS: u32 = 24;
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant is never used: `MAX_NONCE`
[INFO] [stdout]   --> src/proof_of_work.rs:12:1
[INFO] [stdout]    |
[INFO] [stdout] 12 | const MAX_NONCE: i64 = i64::max_value();
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct is never constructed: `ProofOfWork`
[INFO] [stdout]   --> src/proof_of_work.rs:14:12
[INFO] [stdout]    |
[INFO] [stdout] 14 | pub struct ProofOfWork {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `new_proof_of_work`
[INFO] [stdout]   --> src/proof_of_work.rs:20:12
[INFO] [stdout]    |
[INFO] [stdout] 20 |     pub fn new_proof_of_work(&mut self) {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `prepare_data`
[INFO] [stdout]   --> src/proof_of_work.rs:27:12
[INFO] [stdout]    |
[INFO] [stdout] 27 |     pub fn prepare_data(&self, nonce: i64) -> Vec<u8> {
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `run`
[INFO] [stdout]   --> src/proof_of_work.rs:51:12
[INFO] [stdout]    |
[INFO] [stdout] 51 |     pub fn run(&self) -> (i64, [u8; 32]) {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `validate`
[INFO] [stdout]   --> src/proof_of_work.rs:76:12
[INFO] [stdout]    |
[INFO] [stdout] 76 |     pub fn validate(&self) -> bool {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 21 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 21 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::borrow::Borrow`
[INFO] [stdout]  --> src/basic_prototype.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::borrow::Borrow;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `BigInt`
[INFO] [stdout]  --> src/proof_of_work.rs:2:27
[INFO] [stdout]   |
[INFO] [stdout] 2 | use num_bigint::{BigUint, BigInt};
[INFO] [stdout]   |                           ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Zero`
[INFO] [stdout]  --> src/proof_of_work.rs:3:18
[INFO] [stdout]   |
[INFO] [stdout] 3 | use num_traits::{Zero, One};
[INFO] [stdout]   |                  ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::mem`
[INFO] [stdout]  --> src/proof_of_work.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::mem;
[INFO] [stdout]   |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `chrono::format::Numeric::Ordinal`
[INFO] [stdout]  --> src/proof_of_work.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use chrono::format::Numeric::Ordinal;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::borrow::Borrow`
[INFO] [stdout]  --> src/basic_prototype.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::borrow::Borrow;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `BigInt`
[INFO] [stdout]  --> src/proof_of_work.rs:2:27
[INFO] [stdout]   |
[INFO] [stdout] 2 | use num_bigint::{BigUint, BigInt};
[INFO] [stdout]   |                           ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Zero`
[INFO] [stdout]  --> src/proof_of_work.rs:3:18
[INFO] [stdout]   |
[INFO] [stdout] 3 | use num_traits::{Zero, One};
[INFO] [stdout]   |                  ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::mem`
[INFO] [stdout]  --> src/proof_of_work.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::mem;
[INFO] [stdout]   |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `chrono::format::Numeric::Ordinal`
[INFO] [stdout]  --> src/proof_of_work.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use chrono::format::Numeric::Ordinal;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/basic_prototype.rs:72:13
[INFO] [stdout]    |
[INFO] [stdout] 72 |         let mut prev_block= self.blocks.get(self.blocks.len()-1);
[INFO] [stdout]    |             ----^^^^^^^^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 6 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/basic_prototype.rs:72:13
[INFO] [stdout]    |
[INFO] [stdout] 72 |         let mut prev_block= self.blocks.get(self.blocks.len()-1);
[INFO] [stdout]    |             ----^^^^^^^^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 6 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 15.36s
[INFO] running `Command { std: "docker" "inspect" "836afeffa19f92c42c91b61937ac6353982692889fdc85de77d364c166063fa0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "836afeffa19f92c42c91b61937ac6353982692889fdc85de77d364c166063fa0", kill_on_drop: false }`
[INFO] [stdout] 836afeffa19f92c42c91b61937ac6353982692889fdc85de77d364c166063fa0
